export const setLayerTheme = (theme: 'header-dark' | 'dark') => {
  console.log('主题模式:{}', theme);
  const body = document.getElementsByTagName('body')[0];
  if ('header-dark' == theme) {
    body.style.setProperty('--slash-layer-bg-color', '#151519');
    body.style.setProperty('--slash-layer-text-color', '#FFFFFF');
  } else {
    body.style.setProperty('--slash-layer-bg-color', 'white');
    body.style.setProperty('--slash-layer-text-color', '#606266');
  }
};
